<template>
    <el-main>
        <el-main class="ep-body">
            <el-card>
                <el-collapse v-model="activeNames" >
                    <el-collapse-item title="个人参保信息" name="1">
                        <el-form :model="form" :rules="rules" ref="form">                 
                            <el-row :gutter="10">
                                <epl-search-input colspan="8" label="社会保障号码" name="aac147" :property="form.aac147" placeholder="请输入社会保障号码" p="E" tagType="PERSON_AAB001_GROUP" api="/business/d100insiup/d02personcommon/PsQueryComm/doPsQueryComm02">
                                    <epl-search-input-item header="社会保障号" name="aac002"></epl-search-input-item>
                                    <epl-search-input-item header="姓名" name="aac003"></epl-search-input-item>
                                    <epl-search-input-item header="性别" name="aac004"></epl-search-input-item>
                                    <epl-search-input-item header="单位名称" name="aab069"></epl-search-input-item>
                                </epl-search-input>
                                <ep-input colspan="8" label="姓名" name="aac003" :property="form.aac003" 
                                    placeholder="请输入姓名" p="E" :datas="{formData: form}" ></ep-input>
                                <ep-select colspan="8" label="性别" name="aac004" :property="form.aaa115" codetype="AAC004"
                                    placeholder="请选择性别" p="E" :datas="{formData: form}"></ep-select>
                            </el-row> 
                            <el-row :gutter="10">
                                <ep-date colspan="8" label="出生日期" name="csrq" :property="form.csrq" placeholder="请选择出生日期" 
                                        p="E" :datas="{formData: form }" type="date" format="yyyy-MM-dd" value-format="yyyyMMdd"></ep-date>
                                <ep-input colspan="8" label="单位管理码" name="aaa229" :property="form.aaa229" 
                                    placeholder="请输入单位管理码" p="E" :datas="{formData: form}" ></ep-input>
                                <ep-input colspan="8" label="单位名称" name="dwmc" :property="form.dwmc" 
                                    placeholder="请输入单位名称" p="E" :datas="{formData: form}" ></ep-input>    
                            </el-row> 
                            <el-row :gutter="10">   
                                <ep-select colspan="8" label="编制类型" name="bzlxl" :property="form.bzlxl" codetype="BZLXL"
                                    placeholder="请选择编制类型" p="E" :datas="{formData: form}"></ep-select> 
                                <ep-select colspan="8" label="缴费状态" name="jfzt" :property="form.jfzt" codetype="JFZT"
                                    placeholder="请选择缴费状态" p="E" :datas="{formData: form}"></ep-select> 
                                <ep-select colspan="8" label="退休标志" name="txbz" :property="form.txbz" codetype="TXBZ"
                                    placeholder="请选择退休标志" p="E" :datas="{formData: form}"></ep-select>                     
                                
                            </el-row>
                            <el-row :gutter="10">     
                                <ep-date colspan="8" label="参加工作日期" name="aae002b" :property="form.aae002b" placeholder="请选择参加工作日期" 
                                    p="E" :datas="{formData: form }" type="date" format="yyyy-MM-dd" value-format="yyyyMMdd"></ep-date>
                                <ep-select colspan="8" label="是否报备员额" name="aae011" :property="form.aae011" codetype="AAE011"
                                    placeholder="请选择是否报备员额" p="E" :datas="{formData: form}"></ep-select> 
                            </el-row>
                            
                        </el-form>
                    </el-collapse-item>
                
                        
                    <el-collapse-item title="原转移信息列表" name="2">
                        <ep-table :data="tableData" border style="width: 100%;" :titleFilter="fil">
                            <ep-table-column editor="index" width="50"  header="序号"></ep-table-column>    
                            <ep-table-column  editor="text" edited sortable  name="aab069" header="转出地编码"></ep-table-column>
                            <ep-table-column  editor="text" edited sortable  name="aac003" header="转出地名称"></ep-table-column> 
                            <ep-table-column  editor="text" edited sortable  name="aae022" header="转出单位编码"></ep-table-column>
                            <ep-table-column  editor="text" edited sortable  name="zhnj" header="转出单位名称"></ep-table-column>
                            <ep-table-column  editor="text" edited sortable  name="zrd" header="转入地编码"></ep-table-column> 
                            <ep-table-column  editor="text" edited sortable  name="zrdmc" header="转入地名称"></ep-table-column>   
                            <ep-table-column  editor="text" edited sortable  name="aaa002" header="转入单位编码"></ep-table-column>
                            <ep-table-column  editor="text" edited sortable  name="aaa003" header="转入单位名称"></ep-table-column>
                            <ep-table-column  editor="text" edited sortable  name="cwyy" header="错误原因"></ep-table-column>
                        </ep-table>
                    </el-collapse-item>
                    <el-collapse-item title="全省统筹区参保缴费情况" name="3">
                        <ep-table :data="tableData2" border style="width: 100%;" :titleFilter="two">
                            <ep-table-column editor="index" width="50"  header="序号"></ep-table-column>    
                            <ep-table-column  editor="text" edited sortable  name="aaa027" header="统筹区编码"></ep-table-column>
                            <ep-table-column  editor="text" edited sortable  name="tcqmc" header="统筹区名称"></ep-table-column> 
                            <ep-table-column  editor="select" edited sortable  name="cbzt" header="人员参保状态"></ep-table-column>
                            <ep-table-column  editor="select" edited sortable  name="jfzt" header="个人缴费状态"></ep-table-column>
                            <ep-table-column  editor="text" edited sortable  name="ksrq" header="开始日期"></ep-table-column> 
                            <ep-table-column  editor="text" edited sortable  name="jsrq" header="结束日期"></ep-table-column>   
                        </ep-table>
                    </el-collapse-item>
                </el-collapse>  
                <div style="margin: 15px 0;"></div>
                <el-row type="flex" justify="center">
                        <ep-saveButton  type="primary"  id="doSave"  ref="save" @formValidate="formValidate" :validate="['form']" 
                                       :datas="{panel:panel,formData: form,tableData: tableData}" name="保存"></ep-saveButton>
                </el-row>
            </el-card>
        </el-main>
    </el-main>
</template>


<script src="../js/TransferInRegRepairJS.js"></script>
